/** ViewHome */
package client.events;

import domain.user.User;

/** Passes the successful user to the home page
 * @author jessienewman
 * @version $Revision: 1.0 $
 */
public class ViewHome {
	/**
	 * Field user.
	 */
	public User user;

	/** 
	 * Passes the successful user to the home page 
	 * @param user user successfully logged in
	 * */
	public ViewHome(User user) {
		this.user = user;
	}
	
	/**
	 * Method toString.
	
	 * @return String */
	public String toString() {
		return "LoginSuccessful";
	}
}
